import numpy as np
import cv2
img=cv2.imread("puppy.jpg")
m=np.ones(img.shape,dtype="uint8")*100
result=cv2.add(img,m)